package com.ohos.connent.modelcloud.biz.modular.pro.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ohos.connent.modelcloud.common.pojo.CommonEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * @Author: ChenJiaHao
 * @Date: 2024/5/31 15:17
 * @Description:
 */
@Getter
@Setter
@NoArgsConstructor
@Accessors(chain = true)
@TableName(value = "BIZ_PRO_CATEGORY", autoResultMap = true)
public class BizProCategory extends CommonEntity {

    /** id */
    @ApiModelProperty(value = "id", position = 1)
    private String id;

    /** 中文名称 */
    @ApiModelProperty(value = "中文名称", position = 2)
    private String chineseName;

    /** 英文名称 */
    @ApiModelProperty(value = "英文名称", position = 3)
    private String englishName;

    /** 图片id */
    @ApiModelProperty(value = "图片id", position = 4)
    private String iconId;

    /** iconBase64 */
    @ApiModelProperty(value = "iconBase64", position = 5)
    private String iconBase64;

    /** 图片名称 */
    @ApiModelProperty(value = "图片名称", position = 6)
    private String iconName;

    /** 字典id */
    @ApiModelProperty(value = "字典id", position = 7)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String dictId;

    /** 品类ID */
    @ApiModelProperty(value = "品类ID", position = 8)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String categoryId;

    /** fileId */
    @ApiModelProperty(value = "fileId", position = 9)
    private String fileId;

}
